<HTML> 
	<HEAD> 
	<TITLE>New Page</TITLE> 
	<script language="javascript"> 

	function getOcxObject() {
		return document.getElementById("ocxPlayer");
	}

	function doTest() 
	{
		console.log('-----------------');
		var url = "f:\\media\\love.mp4";
		var ocx = getOcxObject();
		ocx.SetBackColor(0x404040);

		ocx.OpenFile(url, "");
		ocx.Play()
		console.log(ocx);
		
		
	} 
	</script> 
	</HEAD> 
	<BODY> 
	<OBJECT id=ocxPlayer align="CENTER" WIDTH=400 HEIGHT=300  classid="CLSID:3DBC06D7-C993-43FC-833A-986FBB97C5AF"></OBJECT> 
	<input type="button" value="Play" id="btnOK" onclick="doTest();" />
	</BODY> 
	</HTML>